package com.link.gateway.base.auth.model;


/**
 * Copyright  hande Company. All Rights Reserved.
 *
 * @author  黄龙建
 * @date:   2018-09-18
 * @version 1.0
 */

public class Authclient {
    /**
     * token有效时间
     */
    private Integer accessTokenValidity;
    /**
     * 资源Id
     */
    private String resourceIds;
    /**
     * autoapprove
     */
    private String autoApprove;
    /**
     * 客户端Id
     */
    private String clientId;
    /**
     * refreshToken有效时间
     */
    private Integer refreshTokenValidity = 14400;
    /**
     * 认证方式
     */
    private String authorizedGrantTypes = "password";
    /**
     * 跳转Uri
     */
    private String webServerRedirectUri;
    /**
     * 客户端秘钥
     */
    private String clientSecret;
    /**
     * 权限
     */
    private String authorities = "ROLE_USER";
    /**
     * 附加信息
     */
    private String additionalInformation;
    /**
     * 范围
     */
    private String scope = "api";
    /**
     * 职责Id
     */
    private Long headId;
    private Long dutyId;
    private String name;
    /**
     * 用户Id
     */
    private Long userId;
    /**
     * 用户名称
     */
    private String userFirstName;
    private String userName;

    private Long queryId;

    /**
     * rsa公钥
     * 2019年07月17日
     * HuangLJ
     */
    private String rsaPublicKey;

    /**
     * rsa私钥
     * 2019年07月17日
     * HuangLJ
     */
    private String rsaPrivateKey;


    /**
     * 是否已锁定
     * 2019年07月17日
     * HuangLJ
     */
    private String lockFlag;

    /**
     * oauth client 白名单
     */
    private String whiteList;

    /**
     * oauth client 黑名单
     */
    private String blackList;

    /**
     * ase密钥
     */
    private String aesKey;

    /**
     * 是否开启参数校验
     */
    private String checkFlag;

    /**
     * 是否校验权限
     */
    private String checkPermFlag;

    /**
     * 是否校验入口
     */
    private String checkScopeFlag;

    /**
     * 安全性中校验菜单下面url类型
     */
    private String checkUrlTypeFlag;



    public String getWhiteList() {
        return whiteList;
    }

    public void setWhiteList(String whiteList) {
        this.whiteList = whiteList;
    }

    public String getBlackList() {
        return blackList;
    }

    public void setBlackList(String blackList) {
        this.blackList = blackList;
    }

    public Integer getAccessTokenValidity() {
        return accessTokenValidity;
    }

    public void setAccessTokenValidity(Integer accessTokenValidity) {
        this.accessTokenValidity = accessTokenValidity;
    }

    public String getResourceIds() {
        return resourceIds;
    }

    public void setResourceIds(String resourceIds) {
        this.resourceIds = resourceIds;
    }

    public String getAutoApprove() {
        return autoApprove;
    }

    public void setAutoApprove(String autoApprove) {
        this.autoApprove = autoApprove;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public Integer getRefreshTokenValidity() {
        return refreshTokenValidity;
    }

    public void setRefreshTokenValidity(Integer refreshTokenValidity) {
        this.refreshTokenValidity = refreshTokenValidity;
    }

    public String getAuthorizedGrantTypes() {
        return authorizedGrantTypes;
    }

    public void setAuthorizedGrantTypes(String authorizedGrantTypes) {
        this.authorizedGrantTypes = authorizedGrantTypes;
    }

    public String getWebServerRedirectUri() {
        return webServerRedirectUri;
    }

    public void setWebServerRedirectUri(String webServerRedirectUri) {
        this.webServerRedirectUri = webServerRedirectUri;
    }

    public String getClientSecret() {
        return clientSecret;
    }

    public void setClientSecret(String clientSecret) {
        this.clientSecret = clientSecret;
    }

    public String getAuthorities() {
        return authorities;
    }

    public void setAuthorities(String authorities) {
        this.authorities = authorities;
    }

    public String getAdditionalInformation() {
        return additionalInformation;
    }

    public void setAdditionalInformation(String additionalInformation) {
        this.additionalInformation = additionalInformation;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public String getUserFirstName() {
        return userFirstName;
    }

    public void setUserFirstName(String userFirstName) {
        this.userFirstName = userFirstName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getHeadId() {
        return headId;
    }

    public void setHeadId(Long headId) {
        this.headId = headId;
    }

    public Long getDutyId() {
        return dutyId;
    }

    public void setDutyId(Long dutyId) {
        this.dutyId = dutyId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getQueryId() {
        return queryId;
    }

    public void setQueryId(Long queryId) {
        this.queryId = queryId;
    }

    public String getRsaPublicKey() {
        return rsaPublicKey;
    }

    public void setRsaPublicKey(String rsaPublicKey) {
        this.rsaPublicKey = rsaPublicKey;
    }

    public String getRsaPrivateKey() {
        return rsaPrivateKey;
    }

    public void setRsaPrivateKey(String rsaPrivateKey) {
        this.rsaPrivateKey = rsaPrivateKey;
    }

    public String getLockFlag() {
        return lockFlag;
    }

    public void setLockFlag(String lockFlag) {
        this.lockFlag = lockFlag;
    }

    public String getAesKey() {
        return aesKey;
    }

    public void setAesKey(String aesKey) {
        this.aesKey = aesKey;
    }

    public String getCheckFlag() {
        return checkFlag;
    }

    public void setCheckFlag(String checkFlag) {
        this.checkFlag = checkFlag;
    }

    public String getCheckPermFlag() {
        return checkPermFlag;
    }

    public void setCheckPermFlag(String checkPermFlag) {
        this.checkPermFlag = checkPermFlag;
    }

    public String getCheckScopeFlag() {
        return checkScopeFlag;
    }

    public void setCheckScopeFlag(String checkScopeFlag) {
        this.checkScopeFlag = checkScopeFlag;
    }

    public String getCheckUrlTypeFlag() {
        return checkUrlTypeFlag;
    }

    public void setCheckUrlTypeFlag(String checkUrlTypeFlag) {
        this.checkUrlTypeFlag = checkUrlTypeFlag;
    }
}
